module.exports = class extends think.Model {
  async topMenu() {
    const where = {};
    where.status = 1;
    where.pid = 0;
    const menu = await this.where(where).order('sort asc').select();
    return menu;
  }
};
